package cn.aixuegao.common.exception.enums;

public enum IceyExceptionEnum {
	FAILED(999999, "操作失败");  
	
    // 成员变量  
    private Integer code;  
    private String message;  
    // 构造方法  
    private IceyExceptionEnum(Integer code, String message) {  
        this.code = code;  
        this.message = message;  
    }  
    
    
    //覆盖方法  
    public Integer getCode() {
		return code;
	}


	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}


	public void setMessage(String message) {
		this.message = message;
	}


	@Override  
    public String toString() {  
        return "["+this.code+"_"+this.message+"]";  
    }  
}
